package com.anzia.study_3.utils;

import ohos.agp.utils.LayoutAlignment;
import ohos.agp.window.dialog.ToastDialog;
import ohos.app.Context;

public class UIUtils {

	public static void showTip(Context context, String msg) {
		ToastDialog toastDialog = new ToastDialog(context);
		toastDialog.setText(msg);
		toastDialog.setAlignment(LayoutAlignment.CENTER);
		toastDialog.show();
	}

}
